<?php
function check_game_exist($title)
{
	$title=mysql_real_escape_string($title);
	$query="select * from game where title='$title'";
	$result= exec_sql_query($query);
	if(mysql_num_rows($result)==0)
	{
		return false;
	}
	else
	{
		return true;
	}
	
}
?>